package edu.tjut.tjutcommunity.mapper;

import edu.tjut.tjutcommunity.entity.Post;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yhh
 * @since 2022-04-16
 */
@Mapper
public interface PostMapper extends BaseMapper<Post> {

    Integer likeInc(Integer pid);
    Set<Integer> getPids();
}
